package com.systemCapacity.common.dto;

import com.systemCapacity.entity.Enum.AttributeType;
import com.systemCapacity.entity.Enum.AttributeValueType;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class AttributeDto {

    private String attributeId;

    @NotBlank(message = "属性名称不能为空")
    private String attributeName;

    private AttributeType attributeType;

    private String templateId;

    private String equipmentId;

    private AttributeValueType attributeValueType;

    @NotBlank(message = "单位不能为空")
    private String unit;

    private String pid;

    private List<Double> values;

    private String operation;

    private String equipmentName;
}
